Nonvolatile memory device having sectors of selectable size and number

ABSTRACT

A memory array is divided, at the design stage, into a plurality of elementary sectors; depending on the specific application and the requirements of the user, the elementary sectors are grouped into composite sectors of desired size and number; a correlating unit memorizes the correlation between each composite sector and the elementary sectors; and, to address a composite sector, the relative address is supplied to the correlating unit which provides for addressing the elementary sectors associated with the addressed composite sector on the basis of the memorized correlation table.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No. 08/649,857, filed May 3, 1996, now U.S. Pat. No. 5,793,676 which was allowed on Jan. 20, 1998.

TECHNICAL FIELD

The present invention relates to a nonvolatile memory device with sectors of preselectable size and number.

BACKGROUND OF THE INVENTION

As is known, flash-EPROM memories are becoming increasingly important on account of being programmable and erasable electrically. At present, the cells are written by channel hot electron injection, and are erased by Fowler-Nordheim tunneling. In particular, erasing is carried out by applying a high voltage to the source terminal of the cells, with the drain terminal floating and the gate terminal grounded, or by applying a high negative voltage to the gate terminal, with the source terminal grounded or at a medium-high positive voltage, and the drain terminal floating.

At present, flash memories are divided into sectors, with the source terminals of all the cells in the same sector connected to the same source line, so that all the cells in the same sector are erased simultaneously, and the number and size of the sectors (number of bits in each sector) are fixed and unchangeable.

To give a better idea of the problems with the prior art, FIGS. 1 and 2 show the typical architecture of a known flash-EPROM memory device 1.

As shown in FIGS. 1 and 2, known nonvolatile memory device 1 comprises a memory array 2 formed of a number of memory cells 3 arranged in rows and columns and grouped into sectors 4. Each memory cell 3 presents a drain terminal 10 connected to a respective bit line 11, a gate terminal 12 connected to a respective word line 13, and a source terminal 14 connected to a common source line 15. Cells 3 in the same column are connected to the same bit line 11. Cells 3 in the same row are connected to the same word line 13, and cells 3 in the same sector are connected to the same common source line 15, so that each sector 4 presents a respective common source line. In the example shown, the sectors are organized in columns, i.e., the cells in the same column belong to the same sector, but the observations made herein also apply equally to sectors organized in rows.

Word lines 13 (shown schematically in FIG. 1 by arrow 18) are connected to a row decoder 19, which is supplied by a control unit 20 with the coded addresses of the rows to be biased, which addresses are supplied externally or generated inside unit 20 depending on the operation.

Similarly, all the bit lines 11 (shown schematically in FIG. 1 by arrow 22) are connected to a column decoder 21 addressed by control unit 20 so as to appropriately bias and connect bit lines 11 to output lines 23. Output lines 23 are connected to a sense amplify unit 24 also controlled by control unit 20, and which provides for reading the coded information in cells 3 addressed by the bit and word lines, and for supplying this information externally over an output bus 27.

Common source lines 15 are connected to respective switches 25 for grounding or connecting common source lines 15 to a high erase voltage. Switches 25 are controlled by an enabling sector 26, which is in turn controlled by control unit 20.

To erase a sector 4, enabling selector 26, controlled by control unit 20, enables the switch 25 connected to the sector 4 to be erased, so as to bias the source terminals 14 of all the cells at a high voltage (e.g., 12 V). At the same time, gate terminals 12 are grounded or brought to a negative voltage by word lines 13, and drain terminals 10 are left floating, so that all the cells in the sector are erased simultaneously.

As already stated, one drawback of a structure of this type is that the number of cells 3 in sectors 4 and the number of sectors 4 are determined at the design stage with no possibility of being altered, so that, for each customer requirement in terms of number and size of the sectors, memory device 1 must be specially designed, and can only be used for a limited number of applications involving similar requirements.

SUMMARY OF THE INVENTION

It is an object of the present invention to provide a nonvolatile memory device designed to overcome the aforementioned drawback.

According to one aspect of the present invention, a memory circuit includes a memory array that has a plurality of elementary memory sectors. Each memory sector includes a nonvolatile memory cell. A first plurality of erased switches are each coupled to a corresponding one of the elementary memory sectors. A second plurality of correlating registers are coupled to the array switches. Each correlating register finds a corresponding composite sector and identifies those of the elementary memory sectors that are part of the defined composite sector. The memory circuit also includes a control unit and a composite-sector selector coupled to the control unit and to the correlating registers.

BRIEF DESCRIPTION OF THE DRAWINGS

Two preferred, non-limiting embodiments of the present invention will be described by way of example with reference to the accompanying drawings, in which:

FIG. 1 shows the overall architecture of a known memory device;

FIG. 2 shows a circuit diagram of a detail of the FIG. 1 device;

FIG. 3 shows a block diagram that illustrates the principles underlying the present intention;

FIG. 4 shows a first embodiment of a memory device in accordance with the present invention;

FIG. 5 shows one embodiment of a detail of the FIG. 4 device;

FIG. 6 shows a second embodiment of a memory device in accordance with the present invention; and

FIG. 7 shows the electric diagram of a detail in FIG. 6.

DETAILED DESCRIPTION OF THE INVENTION

FIG. 3 shows, schematically, the principle underlying the present invention, and which comprises dividing the memory (at the design stage) into a large number of elementary sectors of different sizes (in as flexible a manner as possible, according to potential customer requirements), and subsequently grouping the elementary sectors into composite sectors (groups of sectors) of a size and number corresponding to a specific application. A correlating unit provides for storing the correlation between each user-specified composite sector or group of sectors and the associated elementary sectors. The above concept is shown in FIG. 3 in which memory array 2 is shown as comprising eight sectors 4 grouped into three composite sectors 34 of two, five and one elementary sectors respectively. Block 31 indicates the correlation memory, the inputs (arrows 32) of which specify the address of the composite sector 34 to be, for example, erased, and the outputs (arrows 33) of which specify the addresses of the elementary sectors in the addressed composite sector. For the user, therefore, the FIG. 3 structure is equivalent to that of a memory array formed of only three appropriately sized composite sectors.

FIG. 4 shows an example architecture implementing the FIG. 3 principle, and in which the elements common to the FIG. 1 architecture are indicated using the same numbering system with no further description.

The memory device 40 in FIG. 4 comprises a correlating unit 41 located between enabling selector 26 and source switches 25, and in turn comprising a number of registers 44, and a nonvolatile correlation memory 45. Each register is associated with a composite sector, and memorizes the respective associated elementary sectors. To this end, a register 44 is provided for each elementary sector 4 (to allow even all one-unit groups of sectors, i.e., associated with a single elementary sector), and each register 44 comprises a number of bits equal to the number of elementary sectors 4, so as to memorize in binary manner the correlation (if any) between the associated composite sector and each of the elementary sectors present. Each register 44 therefore presents an input 47 connected to enabling selector 26, and a number of outputs 48--one for each bit, i.e., one for each elementary sector 4. The outputs 48 of the various registers 44 associated with the same elementary sector 4 are connected to one another and to the control input 49 of the source switch 25 connected to the common source line 15 of the associated elementary sector.

FIG. 5 shows a simplified example of the FIG. 4 case in which memory array 2 comprises three elementary sectors 4.1, 4.2, 4.3, and therefore three registers 44 with three memory locations or bits 46. In the example shown, elementary sectors 4 are assumed to be grouped into two composite groups or sectors: a first group comprising elementary sectors 4.1, 4.2 in FIG. 4, the switches 25 of which are controlled by signals EN1, EN2, and a second group including only elementary sector 4.3, the switch of which is controlled by signal EN3. Assuming this, one of registers 44 (to the left in FIG. 5) is associated with the first composite sector, and memorizes two logic ones, i.e., "1" in the bits 46 corresponding to the first two elementary sectors 4.1, 4.2, and a logic zero, i.e., "0" in bit 46 corresponding to the third elementary sector 4.3. A second register 44 (in the center in FIG. 5) is associated with the second group of sectors, and memorizes two "0" for the first two elementary sectors 4.1, 4.2, and a "1" for the third elementary sector 4.3. A third register (to the right in FIG. 5) memorizes all "0" by not being associated with any of the elementary sectors. Consequently, when the first register 44 (to the left in FIG. 5) is addressed by enabling selector 26 by means of signal SN1, logic signals corresponding to "110" are sent along lines 48 to switch switches 25 relative to sectors 4.1, 4.2 and, for example, bring the source lines 15 to a high voltage, whereas the switch 25 associated with the third elementary sector 4.3 is unaffected.

Correlation memory 45 provides for permanently storing the content of registers 44, which is lost when memory device 40 is turned off. When turned on, memory device 40 provides for transferring the content of correlation memory 45 into registers 44 in the same way as for normal loading operations in known memory devices.

FIG. 6 shows a further embodiment of the memory device according to the invention, wherein the correlation between the user-specified composite sectors and the elementary sectors into which the device is actually divided is again memorized in registers, and the content of the registers is memorized permanently by a memory element formed in the memory array.

In FIG. 6, the memory device 55 comprises a memory array 50 in turn comprising a plurality of elementary sectors 4, and a group memory sector 51 located between two elementary sectors 4 and connected to respective dedicated bit lines 52 as described in more detail later on with reference to FIG. 7. Group memory sector 51 is also connected to a respective common source line 53, which in turn is connected to a respective switch 54, which is substantially identical to switches 25 associated with the elementary sectors 4. In FIG. 6, the correlation registers 44 (shown by a single block) are connected to the output of sense amplifiers 24, but are otherwise identical to registers 44 in FIG. 4. Switch 54 is controlled by a group setting unit 59 shown here as forming part of control unit 20 of device 55. Unit 59 generates the control signal for switch 54 when group memory sector 51 is to be erased, and also controls the column decoder, here indicated by 60, the output bus 27, and registers 44 for initially loading the registers, and erasing and writing group memory sector 51.

As shown more clearly in FIG. 7, group memory sector 51 comprises a plurality of cells 61, which are substantially identical to cells 3 and are connected to the same word lines 13 and to dedicated bit lines 52. Each dedicated bit line 52 is associated with an output line 23 of memory device 55 to make use of the sense circuits already provided for normal operation of memory device 55. For this purpose, group memory sector 51 requires a special column decoder, as shown schematically in FIG. 7, wherein column decoder 60 is divided into a first portion for decoding elementary sectors 4 (in conventional manner as in FIGS. 1, 4, and therefore indicated 21), and a second portion 63 for decoding group memory sector 51. Portion 63 comprises selection transistors 64 along group bit lines 52--one for each line 52--controlled by signals YCLS generated by group setting unit 59 (FIG. 6) so as to connect each line 52 to a respective output line (arrow 23).

Being connected to the same word lines 13, cells 61 of the group memory sector use the same row decoder 19 as cells 3.

Consequently, when memory device 55 is turned on, as for the initial loading procedures already provided, cells 61 of group memory sector 51 are read by the column decoder (portion 63 of column decoder 60) and the content of cells 61 is memorized in registers 44. In all the following operating steps of the device, registers 44 then operate as described above with reference to FIG. 4 as regards control of elementary sectors 4.

The grouping of elementary sectors 4 may be altered by modifying the correlation map in group memory sector 51. Instead of redesigning the whole of device 55, this is done by simply reprogramming sector 51 by erasing it using respective switch 54, as for any other elementary sector 4, and memorizing i.e., programming, a different correlation.

Memory device 55 may therefore be adapted before initial use, according to the specific requirements of the application in question, as well as after initial use, should different requirements arise.

Clearly, changes may be made to the memory device and method as described and illustrated herein without, however, departing from the spirit and scope of the present invention. In particular, correlation unit 31 (FIG. 3) may be formed differently, e.g., directly by a nonvolatile memory element or by a special logic or combining circuit. The correlation unit 31 may also generate directly the control signals for source switches 25, as described, or coded address signals for the elementary sectors. In the latter case, referring to FIG. 4, the correlation unit 41 requires a special decoding element which may be located at the input, instead of the output, of the enabling selector 26. 

We claim:
 1. A memory circuit, comprising:an array of memory cells arranged in elementary blocks, each elementary block including a respective one or more of the memory cells; and a correlating unit coupled to the array and operable to group the elementary blocks into composite blocks, each composite block including a respective one or more of the elementary blocks, the correlating unit including correlating memories that each memorize the correlation for a respective composite block and that are each associated with more than one of the elementary blocks.
 2. The memory circuit of claim 1 wherein the memory cells comprise respective nonvolatile memory cells.
 3. The memory circuit of claim 1 wherein the correlating unit is operable to store data that identifies the respective one or more elementary blocks that compose each composite block.
 4. The memory circuit of claim 1 wherein:the correcting unit is operable to store data that identifies the respective one or more elementary blocks that compose each composite block; and the data is programmable.
 5. The memory circuit of claim 1, further comprising:an enable circuit coupled to the correlating unit and operable to select a composite block; and wherein the correlating unit is operable to activate the selected composite block.
 6. A memory circuit, comprising:an array of memory cells arranged in elementary blocks, each elementary block including a respective one or more of the memory cells; and a correlating unit that is coupled to the array and that defines composite blocks, each composite block including a respective one or more of the elementary blocks, the correlating unit including correlating memories that each memorize the correlation for a respective composite block and that are each associated with more than one of the elementary blocks.
 7. The memory circuit of claim 5 wherein the memory cells comprise respective nonvolatile memory cells.
 8. The memory circuit of claim 6 wherein the correlating unit stores programmable data that identifies the composite blocks.
 9. The memory circuit of claim 6 wherein the correlating unit comprises volatile correlating memories, each correlating memory identifying the one or more elementary blocks that compose a respective composite block.
 10. The memory circuit of claim 6, further comprising:an enable circuit coupled to the correlating unit and operable to select a composite block; and wherein the correlating unit is operable to activate the selected composite block.
 11. A method, comprising:grouping elementary blocks of memory cells into composite blocks of memory cells, each elementary block including a respective one or more of the memory cells, each composite block including a respective one or more of the elementary blocks; storing in one or more correlating memories a correlation for each respective composite block and an association with more than one of the elementary blocks; and simultaneously accessing all of the memory cells in one of the composite blocks.
 12. The method of claim 11 wherein the accessing comprises simultaneously erasing all of the memory cells in one of the composite blocks.
 13. The method of claim 11 wherein the accessing comprises:generating a composite-block selection signal to select a composite block; in response to the composite-block selection signal, generating a respective elementary-block signal for each elementary block in the selected composite block; and in response to the one or more elementary-block signals, activating the one or more elementary blocks in the selected composite block.
 14. A memory circuit, comprising:an array of memory cells arranged in elementary blocks, each elementary block including a respective one or more of the memory cells; a correlating unit coupled to the array and operable to group the elementary blocks into composite blocks, each composite block including a respective one or more of the elementary blocks; and the correlating unit comprising a nonvolatile storage circuit operable to store data that identifies the respective one or more elementary blocks that compose each composite block.
 15. A memory circuit, comprising:an array of memory cells arranged in elementary blocks, each elementary block including a respective one or more of the memory cells; a correlating unit coupled to the array and operable to group the elementary blocks into composite blocks, each composite block including a respective one or more of the elementary blocks; and an enable circuit coupled to the correlating unit and operable to select a composite block, wherein the correlating unit it operable to activate the selected composite block.
 16. A memory circuit, comprising:an array of memory cells arranged in elementary blocks, each elementary block including a respective one or more of the memory cells; a correlating unit that is coupled to the array and that defines composite blocks, each composite block including a respective one or more of the elementary blocks; and the correlating unit further comprising correlating memories, each correlating memory identifying on or more elementary blocks that compose a respective composite block, each correlating memory being coupled to more than one of the elementary memory blocks.
 17. A memory circuit, comprising:an array of memory cells arranged in elementary blocks, each elementary block including a respective one or more of the memory cells; a correlating unit that is coupled to the array and that defines composite blocks, each composite block including a respective one or more of the elementary blocks; and the correlating unit further comprising volatile correlating memories, each correlating memory identifying on or more elementary blocks that compose a respective composite block.
 18. A memory circuit, comprising:an array of memory cells arranged in elementary blocks, each elementary block including a respective one or more of the memory cells; a correlating unit that is coupled to the array and that defines composite blocks, each composite block including a respective one or more of the elementary blocks; and an enabled circuit coupled to the correlating unit and operable to select a composite block, wherein the correlating unit is operable to activate the selected composite block.
 19. A method, comprising:grouping elementary blocks of memory cells into composite blocks of memory cells, each elementary block including a respective one or more of the memory cells, each composite block including a respective one or more of the elementary blocks; and simultaneously accessing all of the memory cells in one of the composite blocks by generating a composite-block selection signal to select a composite block; in response to the composite-block selection signal, generating a respective elementary-block signal for each elementary block and the selected composite block; and in response to the one or more elementary-block signals, activating the one or more elementary blocks in the selected composite block. 